package cn.kow.kmall.service;

import cn.kow.kmall.pojo.entity.OrderRefund;

/**
 * @Author: lijun
 * @Description:
 * @Date: Created in 2020-05-06 19:45
 * @Modified By:
 */
public interface OrderRefundService {

    /**
     * 创建退款单
     * @param orderRefund    退款单
     * @return 结果
     */
    OrderRefund create(OrderRefund orderRefund);

    /**
     * 获取退款单
     * @param refundNo 退款单号
     * @return 结果
     */
    OrderRefund getByRefundNo(String refundNo);

    /**
     * 更新退款单
     * @param orderRefund 退款单
     */
    void update(OrderRefund orderRefund);
}
